package com.ice.body.hardware.service.impl;
import com.ice.body.hardware.dao.DeviceFaceDao;
import com.ice.body.hardware.model.DeviceFace;
import com.ice.base.dao.BaseDao;
import com.ice.base.service.impl.BaseServiceImpl;
import com.ice.body.hardware.service.DeviceFaceService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.HashMap;
import java.util.List;

/**
 * Created with GuoYanBin.
 * Description:面部识别 serviceImpl
 * Date: 2021-11-29
 * Time: 03:17
 */
@Service
public class DeviceFaceServiceImpl extends BaseServiceImpl<DeviceFace> implements DeviceFaceService {
    @Resource 
    private DeviceFaceDao deviceFaceMapper;
    @Override
    public BaseDao<DeviceFace> getBaseDao() {
        return deviceFaceMapper;
    }

    @Override
    public DeviceFace getByIp(String ip) {
        return deviceFaceMapper.getByIp(ip);
    }

    @Override
    public List<DeviceFace> getByFaceFlag(HashMap<String,Object> param) {
        return deviceFaceMapper.getByFaceFlag(param);
    }
}
